import { herinRequist } from "../http.js";
const Index = {
	getCover(type){
		return herinRequist({ url: '/app/cover', method: 'GET', data:{ type } });
	},
	getHome(data){
		return herinRequist({ url: '/app/home', method: 'GET', data });
	},
	getHomeDetail(id){
		return herinRequist({ url: '/app/home-detail', method: 'GET', data:{id} });
	},
	getUpload(){
		return herinRequist({ url: '/upload', method: 'POST' });
	},
	getMessageEx(){
		return herinRequist({ url: '/pc/message-ex', method: 'GET'});
	},
}

export default Index;
